Skip to content

Conversation

@marccampbell
Copy link
Member

this is needed for our internal dev envs, but go doesn't resolve *.localhost to 127.0.0.1 like browsers and curl does

TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
},
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Custom HTTP transport loses proxy environment variable support

Medium Severity

The custom http.Transport doesn't set the Proxy field, which defaults to nil. Previously, the code used http.DefaultClient which uses http.DefaultTransport with Proxy: http.ProxyFromEnvironment. This means environment variables like HTTP_PROXY, HTTPS_PROXY, and NO_PROXY are now ignored for all requests, not just .localhost ones. Users behind corporate proxies or in environments requiring proxy configuration will have their requests fail.

Fix in Cursor Fix in Web

@marccampbell marccampbell merged commit 0c61b56 into main Jan 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants